package Chapter06.Homework;

import java.util.Arrays;

//定义两个整数数组，判断他们是否相同
public class Test04 {
    public static void main(String[] args) {
        int[] num1=new int[]{12,23,34,45,56,67};
        int[] num2=new int[]{12,23,34,45,56,67};
        System.out.println("是否相同："+Arrays.equals(num1,num2));
    }
}
